package com.macro.mall.portal.service;

import com.macro.mall.model.PmsComment;
import com.macro.mall.portal.vo.PmsCommentAndCommentReplayVO;
import com.macro.mall.portal.vo.PmsCommentReplayVO;
import com.macro.mall.portal.vo.PmsCommentVO;

import java.util.List;

public interface PmsPortalCommentService {
    public void add(PmsCommentVO pmsCommentVO);

    void addReplay(PmsCommentReplayVO pmsCommentReplayVO);

    List<PmsCommentAndCommentReplayVO> listCommentAndCommentReplayGetByProductId(Long productId,Integer pageSize,Integer pageNum);

    PmsCommentAndCommentReplayVO getById(Long id);

    PmsComment getByIdAndMenberId(Long id);

    List<PmsCommentAndCommentReplayVO> listByMenberId(Integer pageSize, Integer pageNum);

    void delById(List<Long> ids);
}
